'Declaration
<ExtensionAttribute()> <NotNullAttribute()> Public Overloads Shared Function WriteValueAction(Of TValue)( _ ByVal dataVariable As UADataVariable, _ ByVal declaredTypeCode As TypeCode, _ ByVal writeValueAction As Action(Of TValue) _ ) As UADataVariable
'Usage
Dim dataVariable As UADataVariable Dim declaredTypeCode As TypeCode Dim writeValueAction As Action(Of TValue) Dim value As UADataVariable value = UADataVariableExtension.WriteValueAction(Of TValue)(dataVariable, declaredTypeCode, writeValueAction)
[Extension()] [NotNull()] public static UADataVariable WriteValueAction<TValue>( UADataVariable dataVariable, TypeCode declaredTypeCode, Action<TValue> writeValueAction )
[Extension()] [NotNull()] public: static UADataVariable^ WriteValueActiongeneric<typename TValue> ( UADataVariable^ dataVariable, TypeCode declaredTypeCode, Action<TValue^>^ writeValueAction )
Parameters
- dataVariable
- The data variable that will be modified and returned.
The value of this parameter cannot be
null
(Nothing
in Visual Basic). - declaredTypeCode
- The declared type of the data variable, expressed as .NET type code (System.TypeCode).
- writeValueAction
- The write value action, i.e. the action that accepts the value to be written and performs the write operation.
The value of this parameter cannot be
null
(Nothing
in Visual Basic).
Type Parameters
- TValue
Return Value
This method never returns null
(Nothing
in Visual Basic).